remove html tags from string php

37

php remove span tags from string -

echo $new_string = preg_replace('/<span[^>]+\>/i', '', $content); 

Comments

Submit
0 Comments